package com.amumu.drama.common.modules.fuioupay.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author sunzhuang
 * @date 2024/8/8 16:40
 * @slogan 天下风云出我辈, 一入代码岁月催
 * @desc todo
 */
@Setter
@Getter
@Configuration
public class FuiouConfig {

    //环境富友公钥
    @Value("${fuiou.pubKey}")
    private String pubKey;
    //环境商户私钥
    @Value("${fuiou.priKey}")
    private String priKey;
    //富友请求接口地址
    @Value("${fuiou.url}")
    private String url;
    //富友PC支付请求URL
    @Value("${fuiou.pcUrl:''}")
    private String pcUrl;
    //商户号
    @Value("${fuiou.mchntCd}")
    private String mchntCd;
    //支付查询接口
    @Value("${fuiou.payQueryUrl}")
    private String payQueryUrl;
    //订单关闭接口
    @Value("${fuiou.orderCloseUrl}")
    private String orderCloseUrl;
    //订单退款接口
    @Value("${fuiou.refundUrl}")
    private String refundUrl;
    //订单退款查询接口
    @Value("${fuiou.refundQueryUrl}")
    private String refundQueryUrl;

}
